package cn.iocoder.yudao.module.ao.controller.admin.student.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 学生信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StudentRespVO {

    @Schema(description = "学生ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23236")
    @ExcelProperty("学生ID")
    private Long studentId;

    @Schema(description = "学号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("学号")
    private String studentNo;

    @Schema(description = "姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("姓名")
    private String name;

    @Schema(description = "性别（1男 2女）", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("性别（1男 2女）")
    private Integer gender;

    @Schema(description = "身份证号")
    @ExcelProperty("身份证号")
    private String idCard;

    @Schema(description = "手机号")
    @ExcelProperty("手机号")
    private String phone;

    @Schema(description = "邮箱")
    @ExcelProperty("邮箱")
    private String email;

    @Schema(description = "所属班级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10419")
    @ExcelProperty("所属班级ID")
    private Long classId;

    @Schema(description = "所属专业ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18855")
    @ExcelProperty("所属专业ID")
    private Long majorId;

    @Schema(description = "入学日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("入学日期")
    private LocalDate enrollmentDate;

    @Schema(description = "入学学期ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17576")
    @ExcelProperty("入学学期ID")
    private Long enrollmentTermId;

    @Schema(description = "毕业日期")
    @ExcelProperty("毕业日期")
    private LocalDate graduationDate;

    @Schema(description = "当前学期数")
    @ExcelProperty("当前学期数")
    private Integer currentSemester;

    @Schema(description = "已获得学分")
    @ExcelProperty("已获得学分")
    private BigDecimal totalCredits;

    @Schema(description = "平均绩点")
    @ExcelProperty("平均绩点")
    private BigDecimal gpa;

    @Schema(description = "监护人姓名", example = "芋艿")
    @ExcelProperty("监护人姓名")
    private String guardianName;

    @Schema(description = "监护人电话")
    @ExcelProperty("监护人电话")
    private String guardianPhone;

    @Schema(description = "家庭地址")
    @ExcelProperty("家庭地址")
    private String address;

    @Schema(description = "状态（0在读 1毕业 2退学 3休学 4转学）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态（0在读 1毕业 2退学 3休学 4转学）")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}